using UniversalAdmin.Application.DTOs;
using UniversalAdmin.Domain.Entities;

namespace UniversalAdmin.Application.Services;

public interface IChatService
{
    Task<ChatResponseDto> GetAnswerAsync(Guid userId, Guid? conversationId, string question);
    Task<List<MessageDto>> GetConversationHistoryAsync(Guid userId, Guid conversationId);
    Task<PagedResultDto<Conversation>> GetConversationsAsync(Guid userId, int page = 1, int pageSize = 10);
    Task<Conversation> CreateConversationAsync(Guid userId, string title);
    Task<bool> DeleteConversationAsync(Guid userId, Guid conversationId);
}